projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c19be8
)
css shadow: Fix memory leak
author
Pavel Vasin
<rat4vier@gmail.com>
Wed, 21 Aug 2013 10:56:21 +0000
(14:56 +0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 31 Aug 2013 16:28:17 +0000
(12:28 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=706493
gtk/gtkcssshadowvalue.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssshadowvalue.c
b/gtk/gtkcssshadowvalue.c
index de345993316bac8bd698d2b5887cb5eaff9730fa..cdfd8526126552a891b794d016df614ef36c4242 100644
(file)
--- a/
gtk/gtkcssshadowvalue.c
+++ b/
gtk/gtkcssshadowvalue.c
@@
-714,6
+714,8
@@
_gtk_css_shadow_value_paint_box (const GtkCssValue *shadow,
cairo_clip (cr);
draw_shadow (shadow, cr, &box, &clip_box, FALSE);
cairo_restore (cr);
+
+ cairo_region_destroy (remaining);
}
cairo_restore (cr);